<div class="pager">
<span>总记录 <?php echo $this->_var['pagebar']['data_count']; ?> 条,每页显示 <?php echo $this->_var['pagebar']['page_size']; ?> 条</span>
<span>页次：<?php echo $this->_var['pagebar']['current']; ?>/<?php echo $this->_var['pagebar']['page_count']; ?></span>

<?php if ($this->_var['pagebar']['begin']): ?>
	<a href="<?php echo $this->_var['pagebar']['begin']; ?>">首页</a>
<?php endif; ?>
<?php if ($this->_var['pagebar']['prev']): ?>
	<a href="<?php echo $this->_var['pagebar']['prev']; ?>">上一页</a>
<?php endif; ?>
<?php $_from=$this->_var['pagebar']['no']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('$attrs[key]', '$attrs[item]');if (count($_from)):
    foreach ($_from AS $this->_var['key']=>$this->_var['href']):
?>
<?php if ($this->_var['pagebar']['current'] == $this->_var['key']): ?>
	<span class="current"><?php echo $this->_var['key']; ?></span>
<?php else: ?>
	<a href="<?php echo $this->_var['href']; ?>"><?php echo $this->_var['key']; ?></a>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();?>
<?php if ($this->_var['pagebar']['next']): ?>
	<a href="<?php echo $this->_var['pagebar']['next']; ?>">下一页</a>
<?php endif; ?>
<?php if ($this->_var['pagebar']['end']): ?>
	<a href="<?php echo $this->_var['pagebar']['end']; ?>">尾页</a>
<?php endif; ?>
&nbsp;
</div>